//
//  UIView+Layer.h
//  TLUIKit
//
//  Created by c on 2021/10/27.
//

#import <UIKit/UIKit.h>


@interface UIView (Layer)
/// 设置边框颜色
@property (nonatomic, strong) UIColor *borderColor;
/// 设置边框大小
@property CGFloat borderWidth;
/// view 圆角
@property CGFloat cornerRadius;
/// 设置view 上下左右圆角
- (void)roundCorners:(UIRectCorner)corners radiue:(CGFloat)radiue;
/// 设置view 阴影
- (void)shadow:(UIColor *)color opacity:(float)opacity offset:(CGSize)offset radius:(CGFloat)radius;
/// 添加lineview
- (void)addLineViewWithFrame:(CGRect)rect color:(UIColor*)color;

@end
